package com.example.springrabbitmq.constant;

public class Constants {
    // 简单模式
    public static final String SIMPLE_QUEUE = "simple.queue";

    // 工作模式
    public static final String WORK_QUEUE = "work.queue";

    // 发布订阅模式
    public static final String PUBLISH_CHANGE = "fanout";
    public static final String PUBLISH_QUEUE_1 = "publish.queue.1";
    public static final String PUBLISH_QUEUE_2 = "publish.queue.2";

    // 路由模式
    public static final String ROUTING_CHANGE = "routing";
    public static final String ROUTINT_QUEUE_1 = "routing.queue.1";
    public static final String ROUTINT_QUEUE_2 = "routing.queue.2";


    // 通配符模式
    public static final String TOPICS_CHANGE = "topics";
    public static final String TOPICS_QUEUE_1 = "topics.queue.1";
    public static final String TOPICS_QUEUE_2 = "topics.queue.2";

    // 消息确认
    public static final String ACK_EXCHANGE = "ack.exchange";
    public static final String ACK_QUEUE = "ack.queue";

    // confirm 确认模式
    public static final String CONFIRM_EXCHANGE = "confirm.exchange";
    public static final String CONFIRM_QUEUE = "confirm.queue";

    // 持久化
    public static final String PERSISTENCE_EXCHANGE = "persistence.exchange";
    public static final String PERSISTENCE_QUEUE = "persistence.queue";

    // 重试
    public static final String RETRY_EXCHANGE = "retry.exchange";
    public static final String RETRY_QUEUE = "retry.queue";

    // ttl
    public static final String TTL_EXCHANGE = "ttl.exchange";
    public static final String TTL_QUEUE = "ttl.queue";
    public static final String TTL_QUEUE_2 = "ttl.queue2";

    // 死信队列
    public static final String DLX_EXCHANGE = "dlx.exchange";
    public static final String DLX_QUEUE = "dlx.exchange";
    public static final String NORMAL_EXCHANGE = "normal.exchange";
    public static final String NORMAL_QUEUE = "normal.queue";
 }
